<!DOCTYPE html>
<html>
<head>
    <title></title>
    <script type="text/javascript">
    function value(a,b){
    return a+b;
    }
    function none(){

    document.getElementById("p").innerHTML="android调用js无返回值";
    }
     function s(){
    var result =window.name.back();
    document.getElementById("p").innerHTML=result;
    }



    </script>
</head>
<body>
<button onclick="s()">js调用android方法</button>
<a href="file:///android_asset/test2.html">点击</a>
<p id="p"></p>
</body>
</html>